package com.gaga.common.enums;

/**
 * 统计类型
 */
public enum AccountAnalysisType {
    year(0, "按年统计"), month(10, "按月统计"), day(20, "按日统计");

    private final int code;
    private final String info;

    AccountAnalysisType(int code, String info) {
        this.code = code;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
